<link href="Content/account.1372691420.css" rel="stylesheet" />
    <div class="form-horizontal">
      <h2>Medicine Availibility.</h2>
        <hr />        
            <div class="form-group">
                <label for="MainContent_medicine" class="col-md-2 control-label">Medicine Name </label>
                <div class="col-md-10">
                    <textarea name="ctl00$MainContent$medicine" rows="2" cols="20" id="MainContent_medicine" class="form-control" style="width:450px;">
</textarea>
                    <span id="MainContent_ctl01" class="text-danger" style="visibility:hidden;">Medicine Name is required.</span>
                </div>
                <div class="col-md-offset-2 col-md-10">
                <input type="submit" name="ctl00$MainContent$btnCheck" value="Check Availibility" onclick="javascript:WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions(&quot;ctl00$MainContent$btnCheck&quot;, &quot;&quot;, true, &quot;&quot;, &quot;&quot;, false, false))" id="MainContent_btnCheck" class="btn btn-primary btn-large" />
            </div>
            </div>       
        <div class="form-group">
            <h3>You have made inquiry about medicine <label id="lblMedicine"></label>. Below Medical stores in your area have your medicine. </h3>
            <ul class="data">
                
                        
                        <li class="group">
                            <p class="data_action">
                                <input type="button" class="btn btn-default" value="Place Your Order" /> </p>
                            <div class="data_main">
                                <h2>Store Name : Gupta Medical Store 
                                    <em>Store Address : V-1/3, V- Block Market Sector 12, Noida </em>
                                </h2>
                            </div>
                            <dl class="meta group">
                                <dt>Distance of the medical store from your address is : </dt>
                                <dd>150 Meter</dd>
                               
                            </dl>
                        </li>
                    
                        <li class="group">
                            <p class="data_action">
                                <input type="button" class="btn btn-default" value="Place Your Order" /> </p>
                            <div class="data_main">
                                <h2>Store Name : Anu Medical Store 
                                    <em>Store Address : P Block Market Sector 12, Noida </em>
                                </h2>
                            </div>
                            <dl class="meta group">
                                <dt>Distance of the medical store from your address is : </dt>
                                <dd>350 Meter</dd>
                               
                            </dl>
                        </li>
                    
                    
            </ul>
            <div style="float:right">
                <input type="button" class="btn btn-default" value="View More Stores >>>" />
            </div>
        </div>
    <script>
        $(document).ready(function () {
            $(document).on('click', "#MainContent_btnCheck", function (event) {
                var value = $("#MainContent_medicine").val();
               
                $("#lblMedicine").text(value);
                return false;
            });
        });
    </script>
